package com.film.service.impl;

import java.util.List;

import com.film.dao.SeatDao;
import com.film.dao.impl.SeatDaoImpl;
import com.film.domain.FilmSeat;
import com.film.service.SeatService;

public class SeatServiceImpl implements SeatService {
	
	private SeatDao seatDao = new SeatDaoImpl();

	@Override
	public List<FilmSeat> selectSoldSeat(int showingsId) {
		return seatDao.selectSoldSeat(showingsId);
	}

	@Override
	public List<FilmSeat> selectAllSeat() {
		return seatDao.selectAllSeat();
	}

}
